/**
 * public class MapItems {
 * 
 *   String name;             // 名称
 *   String icon;             // 图标
 *   Integer value;           // 数量
 *   Integer new;             // 红色角标
 *   List<MapItems> children; // 用于分组，一般这种没有icon, 会有children，里面是子项
 *   String click;            // 有特殊展开功能的，会有click
 * }
 * 
 */
var $APIDATA = {
  /*
  'api/yth/wgh/population.jsp?gridId=320707000000': {
    "code": 0,
    "data": [{
      "name": "人口信息",
      "icon": "",
      "value": 176259,
      "children": [{
        "name": "户籍人口",
        "icon": "hujirenkou.png",
        "value": 1064600,
        "new": 0
      }, {
        "name": "流动人口",
        "icon": "liudongrenkou.png",
        "value": 40400,
        "new": 2
      }, {
        "name": "社区矫正",
        "icon": "shequjiaozheng.png",
        "value": 383,
        "new": 0
      }, {
        "name": "涉毒人员",
        "icon": "xidu.png",
        "value": 2595,
        "new": 0
      }, {
        "name": "鳏寡孤独",
        "icon": "laoren.png",
        "value": 2595,
        "new": 0
      }, {
        "name": "残疾人数",
        "icon": "canji.png",
        "value": 135,
        "new": 0
      }, {
        "name": "低保户数",
        "icon": "dibao.png",
        "value": 135,
        "new": 0
      }]
    }, {
      "name": "网格人员",
      "icon": "wanggeyuan.png",
      "value": 259,
      "click": "wanggeyuan"
    }, {
      "name": "执法队员",
      "icon": "zhifa.png",
      "value": 259,
      "click": "zhifayuan"
    }],
    "message": ""
  },
  'api/yth/wgh/address.jsp?gridId=320707000000': {
    "code": 0,
    "data": [{
      "name": "学校",
      "icon": "fangwu.png",
      "value": 238,
      "new": 0
    }, {
      "name": "医院",
      "icon": "yiyuan.png",
      "value": 238,
      "new": 0
    }, {
      "name": "门店",
      "icon": "mendian.png",
      "value": 238,
      "new": 0
    }, {
      "name": "转运点",
      "icon": "zhuanyun.png",
      "value": 238,
      "new": 0
    }, {
      "name": "排涝站",
      "icon": "pailaozhan.png",
      "value": 238,
      "new": 0
    }, {
      "name": "消防站",
      "icon": "xiaofang.png",
      "value": 238,
      "new": 0
    }, {
      "name": "救灾物资储备点",
      "icon": "chubeidian.png",
      "value": 238,
      "new": 0
    }, {
      "name": "港口",
      "icon": "gangkou.png",
      "value": 238,
      "new": 0
    }, {
      "name": "码头",
      "icon": "matou.png",
      "value": 238,
      "new": 0
    }],
    "message": ""
  },
  'api/yth/wgh/events.jsp?gridId=320707000000': {
    "code": 0,
    "data": [{
      "name": "信息上报",
      "icon": "",
      "value": 79,
      "new": 0,
      "click": "shijian",
      children: [{
        "name": "待处理",
        "icon": "daichuli.png",
        "value": 10,
        "new": 3,
        "click": "shijian",
      }, {
        "name": "处理中",
        "icon": "chulizhong.png",
        "value": 20,
        "new": 0,
        "click": "shijian",
      }, {
        "name": "已处理",
        "icon": "yichuli.png",
        "value": 40,
        "new": 0,
        "click": "shijian",
      }]
    }, {
      "name": "舆情信息",
      "icon": "yuqing.png",
      "value": 238,
      "new": 0
    }, {
      "name": "12345",
      "icon": "12345.png",
      "value": 238,
      "new": 0
    }],
    "message": ""
  },
  'api/yth/wgh/things.jsp?gridId=320707000000': {
    "code": 0,
    "data": [{
      "name": "无人机",
      "icon": "wurenji.png",
      value: '0',
      "new": 0,
      "click": 'jiankong'
    }, {
      "name": "监控",
      "icon": "",
      value: '79',
      "new": 0,
      children: [{
        "name": "天眼",
        "icon": "tianyan.png",
        value: 0,
        "new": 0,
        "click": 'jiankong'
      }, {
        "name": "雪亮",
        "icon": "wenwu.png",
        value: 0,
        "new": 0,
        "click": 'jiankong'
      }, {
        "name": "鹰眼",
        "icon": "yingyan.png",
        value: 6,
        "new": 0,
        "click": 'jiankong'
      }, {
        "name": "党建云",
        "icon": "dangjianyun.png",
        value: 0,
        "new": 0,
        "click": 'jiankong'
      }, {
        "name": "平安校园",
        "icon": "pinganxiaoyuan.png",
        value: 0,
        "new": 0,
        "click": 'jiankong'
      }, {
        "name": "透明厨房",
        "icon": "toumingchufang.png",
        value: 0,
        "new": 0,
        "click": 'jiankong'
      }, ]
    }, {
      "name": "文物",
      "icon": "wenwu.png",
      value: '79',
      "new": 0
    }, {
      "name": "水闸",
      "icon": "shuizha.png",
      value: '79',
      "new": 0
    }, {
      "name": "消防栓",
      "icon": "xiaofangshuai.png",
      value: '79',
      "new": 0
    }],
    "message": ""
  },
  'api/yth/wgh/organization.jsp?gridId=320707000000': {
    "code": 0,
    "data": [{
      "name": "企业",
      "icon": "qiye.png",
      new: 0,
      click: 'qiye',
      "value": 13837
    }, {
      "name": "党建",
      "icon": "dangjian.png",
      "value": 20,
      new: 0,
    }],
    "message": ""
  }
  */
};